﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteNew.Master" Inherits="System.Web.Mvc.ViewPage<ASPNETMVCApplication.Areas.Shop.Models.OrderModel>" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Tìm kiếm đơn hàng
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<script>
    $(function () {
        $("button, input:submit,input:reset").button();

    });
	</script>
<script>
    $(function () {
        $("#DateFrom").datepicker(
        {
            changeMonth: true,
            changeYear: true,
            showOn: "button",
            buttonImage: "/Assets/images/calendar.gif",
            buttonImageOnly: true
        }
        );
    });
	</script>
    <script>
        $(function () {
            $("#DateThru").datepicker(
            {
                changeMonth: true,
                changeYear: true,
                showOn: "button",
                buttonImage: "/Assets/images/calendar.gif",
                buttonImageOnly: true
            }
            );
        });
	</script>
    
   
        <% Html.EnableClientValidation(); %>
         <% using (Html.BeginForm("CustGetOrderList", "OrderInfo", FormMethod.Post, new { enctype = "multipart/form-data" }))
            {%>
        <%: Html.ValidationSummary(true) %>
    <div id="page-heading"><h1>Tìm đơn hàng</h1></div>
   

<table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
<tr>
	<th rowspan="3" class="sized"><img src="/Assets/images/shared/side_shadowleft.jpg" 
            width="20" height="300" alt="" /></th>
	<th class="topleft"></th>
	<td id="tbl-border-top">&nbsp;</td>
	<th class="topright"></th>
	<th rowspan="3" class="sized"><img src="/Assets/images/shared/side_shadowright.jpg" 
            width="20" height="300" alt="" /></th>
</tr>
<tr>
	<td id="tbl-border-left"></td>
	<td>
	<!--  start content-table-inner -->
	<div id="content-table-inner">
	
	<table border="0" width="100%" cellpadding="0" cellspacing="0">
	<tr valign="top">
	<td>
	
	
		
	
		<!-- start id-form -->
		<table border="0" cellpadding="0" cellspacing="0"  id="id-form">
		<tr>
			<th valign="top">Nhà xe :</th>
			<td style="width: 391px"><%: Html.DropDownList("SupplierId", (IEnumerable<SelectListItem>)ViewData["ListSupp"], new { @class = "styledselect_form_1" })%>
               </td>
			<td></td>
		</tr>
       <tr>
		<th valign="top">Từ ngày :</th>
		<td>	
		 <%: Html.TextBoxFor(model => model.DateFrom, new { @class = "inp-form" })%>
                
		</td>
		<td></td>
		</tr> 
        <tr>
		<th valign="top">Đến ngày :</th>
		<td>	
		 <%: Html.TextBoxFor(model => model.DateThru, new { @class = "inp-form" })%>
                
		</td>
		<td></td>
		</tr> 
        <tr>
			<th valign="top">Trạng thái :</th>
			<td style="width: 391px"><%: Html.DropDownList("Status", (IEnumerable<SelectListItem>)ViewData["Status"], new { @class = "styledselect_form_1" })%>
               </td>
			<td></td>
		</tr>
    <tr>
		<th>&nbsp;</th>
		<td valign="top">
			
		</td>
		<td></td>
	</tr>   
	<tr>
		<th>&nbsp;</th>
		<td valign="top">
			<input type="submit" value="Tìm kiếm"  />
			<input type="reset" value="Xóa"  />
		</td>
		<td></td>
	</tr>
	</table>
	<!-- end id-form  -->

	</td>
	<td>

	<!--  start related-activities -->
	<div id="related-activities">
		
		<!--  start related-act-top -->
		<div id="related-act-top">
		<img src="/Assets/images/forms/header_related_act.gif" width="271" height="43" 
                alt="" />
		</div>
		<!-- end related-act-top -->
		
		<!--  start related-act-bottom -->
		<div id="related-act-bottom">
		
			<!--  start related-act-inner -->
			<div id="related-act-inner">
			
				<div class="left"><a href=""><img src="/Assets/images/forms/icon_plus.gif" 
                        width="21" height="21" alt="" /></a></div>
				<div class="right">
					<h5>Yahoo : nnhuy_it<a href=""></a> </h5>
				</div>
				
				<div class="clear"></div>
				<div class="lines-dotted-short"></div>
				
				<div class="left"><a href=""><img src="/Assets/images/forms/icon_minus.gif" 
                        width="21" height="21" alt="" /></a></div>
				<div class="right">
					<h5>Skype : romeohuy</h5>
				</div>
				
				<div class="clear"></div>
				<div class="lines-dotted-short"></div>
				
				<div class="left"><a href=""><img src="/Assets/images/forms/icon_edit.gif" 
                        width="21" height="21" alt="" /></a></div>
				<div class="right">
					<h5>Phone : 0937578442</h5>
				</div>
				<div class="clear"></div>
				
			</div>
			<!-- end related-act-inner -->
			<div class="clear"></div>
		
		</div>
		<!-- end related-act-bottom -->
	
	</div>
    <div id="related-activities">
		
		<!--  start related-act-top -->
		<div id="related-act-top">
		<img src="/Assets/images/forms/header_related_act.gif" width="271" height="43" 
                alt="" />
		</div>
		<!-- end related-act-top -->
		
		<!--  start related-act-bottom -->
		<div id="related-act-bottom">
		
			<!--  start related-act-inner -->
			<div id="related-act-inner">
			
				<div class="left"><a href=""><img src="/Assets/images/forms/icon_plus.gif" 
                        width="21" height="21" alt="" /></a></div>
				<div class="right">
					<h5>Email : romeohuy@gmail.com</h5>
				</div>
				
				<div class="clear"></div>
			</div>
			<!-- end related-act-inner -->
			<div class="clear"></div>
		
		</div>
		<!-- end related-act-bottom -->
	
	</div>
	<!-- end related-activities -->

</td>
</tr>
<tr>
<td><img src="images/shared/blank.gif" width="695" height="1" alt="blank" /></td>
<td></td>
</tr>
</table>
 
<div class="clear"></div>
 

</div>
<!--  end content-table-inner  -->
</td>
<td id="tbl-border-right"></td>
</tr>
<tr>
	<th class="sized bottomleft"></th>
	<td id="tbl-border-bottom">&nbsp;</td>
	<th class="sized bottomright"></th>
</tr>
</table>
    <% } %>
    

</asp:Content>

